Total Complexity | 21 |
Dependencies | 4 |
Dependents | 1 |
Total lines | 256 |
Lines of code | 86 |
Logical lines of code | 56 |
Comment lines | 131 |
Methods | 9 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_user_currency_on_apply_store_credits_discount() | 59 | 4 | 14 | |
convert_amount_to_user_selected_currency() | 61 | 4 | 14 | |
_convert_amount() | 61 | 3 | 11 | |
remove_currency_setting_filters() | 61 | 2 | 13 | |
get_instance() | 70 | 2 | 6 | |
convert_bogo_get_item_price_to_store_currency() | 69 | 2 | 7 | |
run() | 63 | 2 | 10 | |
__construct() | 71 | 1 | 6 | |
save_user_currency_to_store_credits_discount_session() | 73 | 1 | 5 |